// Copyright (c) 2007 Alistair Jones
// This program is made available under the terms of the MIT License.
package org.hypirinha.html.output;

public enum HtmlDoctype implements Doctype {
    xhtml1_transitional("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" +
            "       \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"),
    none("");

    private String dtdDeclaration;

    HtmlDoctype(String dtdDeclaration) {
        this.dtdDeclaration = dtdDeclaration;
    }

    public String getDtdDeclaration() {
        return dtdDeclaration;
    }
}
